package com.shuma.permissionservice.service;

import java.util.List;

public interface PermissionService {
    void bindDefaultRole(Long userId);

    String getUserRoleCode(Long userId);

    void upgradeToAdmin(Long userId);

    void downgradeToUser(Long userId);

    List<Long> getAllUserRole(String roleCode);
}
